package com.zbkj.service.service;

import com.zbkj.common.request.*;
import com.zbkj.common.model.agent.UserDividendRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.response.MyDividendResponse;
import com.zbkj.common.response.UserDividendRecordFrontPageDataResponse;
import com.zbkj.common.response.UserDividendRecordPageDataResponse;
import com.zbkj.common.response.UserDividendRecordDetailResponse;
import io.swagger.models.auth.In;

import java.util.List;
/**
* @author Caiyc
* @description UserDividendRecordService 接口
* @date 2025-09-17
*/
public interface UserDividendRecordService extends IService<UserDividendRecord> {

    Boolean create(UserDividendRecordSaveRequest userDividendRecordSaveRequest);

    /**
     * 分页查询用户艺呗记录表
     * @param request 查询条件
     * @param pageParamRequest 分页对行
     * @return 查询结果
     */
    List<UserDividendRecordPageDataResponse> getList(UserDividendRecordSearchRequest request, PageParamRequest pageParamRequest);

    /**
    * 修改用户艺呗记录表
    * @param userDividendRecordRequest
    * @return
    */
    boolean update(UserDividendRecordSaveRequest userDividendRecordRequest);

    /**
    * 批量删除
    * @param idList
    * @return
    */
    boolean batchDelete(List<Integer> idList);

    /**
    * 查询溯源套餐表详情
    * @param id
    * @return
    */
    UserDividendRecordDetailResponse getDetails(Integer id);

    void userDividendTask(Integer uid, String startDateStr,String endDateStr);

    List<UserDividendRecordFrontPageDataResponse> getMyListH5(UserDividendRecordFrontSearchRequest request, PageParamRequest pageParamRequest);

    MyDividendResponse getMyDividend();
}